import 'package:bookshelf/generated/json/base/json_convert_content.dart';
import 'package:bookshelf/entity/version_entity.dart';

VersionEntity $VersionEntityFromJson(Map<String, dynamic> json) {
	final VersionEntity versionEntity = VersionEntity();
	final String? ver_code = jsonConvert.convert<String>(json['ver_code']);
	if (ver_code != null) {
		versionEntity.ver_code = ver_code;
	}
	final String? url = jsonConvert.convert<String>(json['url']);
	if (url != null) {
		versionEntity.url = url;
	}
	return versionEntity;
}

Map<String, dynamic> $VersionEntityToJson(VersionEntity entity) {
	final Map<String, dynamic> data = <String, dynamic>{};
	data['ver_code'] = entity.ver_code;
	data['url'] = entity.url;
	return data;
}